package com.screen.screendisplay.vo.ne;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 风电安全环保VO
 * </p>
 *
 * @author xuesong
 * @since 2025-10-13
 */
@Data
@Schema(description = "风电安全环保")
public class WindSafetyEnvVO {

    @Schema(description = "节约标煤趋势数据")
    private List<CoalSavingItem> coalSavingTrend;

    @Schema(description = "二氧化碳减排趋势数据")
    private List<Co2ReductionItem> co2ReductionTrend;

    /**
     * 节约标煤项
     */
    @Data
    @Schema(description = "节约标煤项")
    public static class CoalSavingItem {
        
        @Schema(description = "日期")
        private String date;

        @Schema(description = "节约标煤量，单位：万吨")
        private BigDecimal coalSaving;
    }

    /**
     * 二氧化碳减排项
     */
    @Data
    @Schema(description = "二氧化碳减排项")
    public static class Co2ReductionItem {
        
        @Schema(description = "日期")
        private String date;

        @Schema(description = "二氧化碳减排量，单位：万吨")
        private BigDecimal co2Reduction;

        @Schema(description = "同比，单位：%")
        private Integer yoyRate;
    }
}

